package com.xuecheng.publish.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author itcast
 */
@Data
@TableName("course_pub_msg")
public class CoursePubMsg implements Serializable {

    // 消息未发送状态
    public static final Integer UNSENT = 0;
    // 消息已发送状态
    public static final Integer SEND = 1;

    /**
     * 课程发布id
     */
    @TableId
    private Long pubId;

    /**
     * 课程发布名称
     */
    private String pubName;

    /**
     * 课程发布消息状态
     */
    private Integer pubStatus;

    /**
     * 课程基本信息id
     */
    private Long courseId;

    /*
    * 教学机构id
    * */
    private Long companyId;

}
